package com.campus.app.mapper;

import com.campus.commons.entity.Annunciate;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 公告 Mapper 接口
 * </p>
 *
 * @author Rin
 * @since 2020-12-24
 */
@Repository
public interface AnnunciateMapper extends BaseMapper<Annunciate> {

    /**
     * 置顶指定Id 的公告
     * @param id
     * @return
     */
    int stickAnnunciate(Integer id);
}
